package com.stedu.service;

import com.stedu.bean.Games;
import com.stedu.exception.SteduException;

import java.util.List;
import java.util.Map;

public interface GamesService {
    long findCount(String gname,String gnum) ;
    //分页查询
    //void findbyPage(Page<GamesVo> page, String gname,String gnum) throws SQLException;

    boolean addemp(Games games) ;
    boolean delete(Long gid) ;
    Games selectById(Long gid) ;
    boolean update(Games games) throws SteduException;
    List<Games> selecyAll(String gname, String gnum);
    List<Map<String,Object>> findrevenue() ;
}
